/**
 * ...
 * @author Thot
 */

function FastMath(){}

FastMath._cos = new Array();
FastMath._sin = new Array();
FastMath._tan = new Array();

FastMath.TO_RADIANS = Math.PI / 180;
FastMath.TO_DEGREES = 180 / Math.PI;


FastMath.init = function()
{
	var i = 0;
	for( i = 0; i < 360; i++ )
	{
		FastMath._cos[i] = Math.cos( i * FastMath.TO_RADIANS );
		FastMath._sin[i] = Math.sin( i * FastMath.TO_RADIANS );
		FastMath._tan[i] = Math.tan( i * FastMath.TO_RADIANS );
	}
};


FastMath.init();
